package com.jrx.anytxn.transaction.timer.job.coupon.dto;

import com.jrx.anytxn.customer.entity.CmCustomerRightInfo;
import com.jrx.anytxn.customer.entity.TlCouponDetail;
import com.jrx.anytxn.customer.entity.TlRightsExchangeLog;
import com.jrx.anytxn.param.entity.PrRightsAndInterests;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;

/**
 * ClassName CustomerRightsDTO
 *
 * @author lujianyou
 * @version 1.0
 * @description 权益发放返回对象-批处理
 * @date 2021/11/16 22:45
 **/
@Getter
@Setter
@ToString
public class CustomerRightsDTO implements Serializable {
    /**
     * 权益发放明细
     */
    private TlCouponDetail tlCouponDetail;
    /**
     * 客户权益信息
     */
    private CmCustomerRightInfo cmCustomerRightInfo;
    /**
     * 权益兑换明细记录
     */
    private TlRightsExchangeLog rightsExchangeLog;
    /**
     * 权益发放明细 列表
     */
    private List<TlCouponDetail> tlCouponDetailList;
    /**
     * 客户权益信息 列表
     */
    private List<CmCustomerRightInfo> cmCustomerRightInfoList;
    /**
     * 去重后有序的rightIds
     */
    LinkedHashSet<String> rightsLinkedHashSet;
    /**
     * 每个rightsId发放的数量
     */
    Map<String,Integer> rightsMap;
    /**
     * 每个rightsId对应的权益信息
     */
    Map<String, PrRightsAndInterests> rightsInfoMap;
}
